package com.mezz.bones.framework.notification.sms;

import com.mezz.bones.framework.base.exception.CodeSendErrorException;
import com.mezz.bones.framework.core.strategy.IStrategy;
import com.mezz.bones.framework.notification.sms.request.SmsSendRequest;

/**
 * @author mezz
 * @description: 短信发送根接口
 */
public interface ISmsService extends IStrategy {

  /*策略对象标签*/
  String TX = "tx";
  String ALI = "ali";

  /**
   * @author mezz
   * @date 2022/10/14 10:27
   * @description 发送单条信息
   */
  void singleSend(SmsSendRequest smsSendRequest) throws CodeSendErrorException;


  /**
   * @author mezz
   * @date 2022/5/4 9:24
   * @description 群发信息
   */
  void multiSend(SmsSendRequest smsSendRequest) throws  CodeSendErrorException;
}
